<extend name="Public/head" />
<block name="style">
	<link rel="stylesheet" href="__CSS__/ucenter.css">
</block>
<block name="body">
    <div class="aui-content my-header">
        <div class="my-info">
            <img src="{$res.head|default='http://show.linshexiaoqu.com/logo.png'}">
            <p class="nickname">{$res.nickname|default="友友"}</p>
        </div>
    </div>
    <div class="aui-content">
        <ul class="aui-list-view">
            <li class="aui-list-view-cell">
                <a class="aui-arrow-right" href="{:url('index/userinfo')}">个人资料
                </a>
            </li>
            <li class="aui-list-view-cell">
                <a class="aui-arrow-right" href="{:url('index/account')}">修改密码</a>
            </li>
            <li class="aui-list-view-cell">
                <a class="aui-arrow-right" href="{:url('index/orderlist')}">我的订单</a>
            </li>
            <li class="aui-list-view-cell">
                <a class="aui-arrow-right" id='logout' href="javascript:;">安全退出</a>
            </li>
        </ul>
    </div>
</block>
<block name="script">
    <script type="text/javascript">
            
    $('#logout').on('click',function(data){
            post(API + 'logout',{},function(data){
                window.location.href = data.url;
            })
    });
    </script>
</block>